package com.express.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author express
 * @since 2022-01-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ExOrder对象", description="")
public class ExOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "订单编号")
    @TableId(value = "order_id", type = IdType.AUTO)
    private Integer orderId;

    @ApiModelProperty(value = "运送车辆")
    private Integer carId;

    @ApiModelProperty(value = "订单价格")
    private Float orderPrice;

    @ApiModelProperty(value = "寄件人id")
    private Integer senderId;

    @ApiModelProperty(value = "收件人id")
    private Integer addresseeId;

    private Date creatTime;

    private Date updTime;

    @ApiModelProperty(value = "起始地")
    private String startAddress;

    @ApiModelProperty(value = "终点")
    private String endAddress;
    private int state;
    private ExCar exCar;
    private Double distance;
    private Double goodsWight;
    private String goodsName;

}
